package com.huilian.iotbox.admin.wap.service;

import com.github.pagehelper.PageInfo;
import com.huilian.iotbox.data.common.ServerResponse;
import com.huilian.iotbox.data.dto.StatsUserDto;
import com.huilian.iotbox.data.vo.StatsUserVo;

import java.math.BigDecimal;
import java.text.ParseException;
import java.util.List;
import java.util.concurrent.ExecutionException;


/**
 * @author 谢洛涛
 * @date 2021/5/8 10:05
 */
public interface StatsUserService {
    StatsUserVo findStatsUser(StatsUserDto statsUserDto);

    /**
     * 获取本月统计的销售额
     *
     * @param statsUserDto
     * @return
     */
    BigDecimal findThisMonthTurnover(StatsUserDto statsUserDto);

    List<StatsUserVo> findByDateStore(StatsUserDto statsUserDto);

    StatsUserVo findActivityMoney(StatsUserDto statsUserDto);

    ServerResponse findStatsBranchHead(StatsUserDto statsUserDto) throws ExecutionException, InterruptedException;

    ServerResponse findStatsBranchData(StatsUserDto statsUserDto);

    StatsUserVo findStatsUserTwo(StatsUserDto statsUserDto);
}
